//
//  WLScyleScrollModel.swift
//  swiftLiaoNing
//
//  Created by Visitor on 2017/5/26.
//  Copyright © 2017年 Visitor. All rights reserved.
//

import UIKit

class WLScyleScrollModel: NSObject {
    
    var createUser: String?
    var id: Int?
    var imageUrl: String?
    var isShow: Int?
    var platform: String?
    var rule: String?
    var sortNum: Int?
    var title: String?
    var type: Int?
    var updateTime: WLScyleUpdateTimeModel?
    var createTime: WLScyleCreatTimeModel?
    
     init(dict: [String: Any]){
        super.init()
        setValuesForKeys(dict)
        if let createModel = dict["createTime"] as? [String: Any] {
        
            createTime = WLScyleCreatTimeModel(createTime: createModel)
        }
        if let updateTimeModel = dict["updateTime"] as? [String: Any] {
            updateTime = WLScyleUpdateTimeModel(updateTimeModel: updateTimeModel)
        }
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }

}
